package org.example.framework.model.response;

import lombok.Data;

/**
 * @author wwy
 * @date 2020-11-02 19:42
 */
public class ObjectResult <T> extends ResponseResult {
    private T object;
    public ObjectResult(ResultCode resultCode,T object){
        super(resultCode);
        this.object = object;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }
}
